using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace SyncUdp.Interface
{
    /// <summary>
    /// 单例的接口
    /// </summary>
    public interface ISingleton
    {
        /// <summary>
        /// 获取单例
        /// </summary>
        public ISingleton Instance { get; }

        /// <summary>
        /// 是否已经初始化
        /// </summary>
        public bool IsInited { get; }

        /// <summary>
        /// 初始化
        /// </summary>
        public void Init();
    }
}